<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>我的班级</title>
</head>
<body>


<div th:include="main :: head"></div>

    <h2>我的课程： 我所在班级的课程表及任课教师</h2>

    <div>
        <table border="1">

            <tr>
                <td>教师ID</td>
                <td>教师名称</td>
                <td>班级编号</td>
                <td>班级名称</td>
                <td>课程编号</td>
                <td>课程名称</td>
            </tr>
            <tr th:each="x:${myCourses}">
                <td th:text="${x.user.uid}"></td>
                <td th:text="${x.user.uname}"></td>
                <td th:text="${x.clz.clzno}"></td>
                <td th:text="${x.clz.clzname}"></td>
                <td th:text="${x.course.cno}"></td>
                <td th:text="${x.course.cname}"></td>
            </tr>

        </table>
    </div>

</body>
</html>